package com.net.xpay.core.model;

import com.net.common.model.PagedModel;
import com.net.xpay.core.enums.SafePayBatchStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 2020/5/11 15:36

 */
@Getter
@Setter
@NoArgsConstructor
public class SafePayBatchSearchModel extends PagedModel {
    @ApiModelProperty(notes = "状态")
    private SafePayBatchStatus status;

    @ApiModelProperty(notes = "状态集")
    private List<SafePayBatchStatus> statusList;

    @ApiModelProperty(notes = "导入的商户的批次号")
    private String importBatchNo;

    @ApiModelProperty(notes = "#{minCreateTime} <= create_time")
    private LocalDateTime minCreateTime;

    @ApiModelProperty(notes = "#{maxCreateTime} > create_time")
    private LocalDateTime maxCreateTime;

    @ApiModelProperty(notes = "#{minEndTime} <= end_time")
    private LocalDateTime minEndTime;

    @ApiModelProperty(notes = "#{maxEndTime} >= end_time")
    private LocalDateTime maxEndTime;

    @ApiModelProperty(notes = "用户编号")
    private Long userId;

    @ApiModelProperty(notes = "支付宝账号")
    private String alipayNickName;
}
